package com.huli.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName order_material
 */
@TableName(value ="order_material")
@Data
public class OrderMaterial implements Serializable {
    /**
     * 订单和耗材中间表ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单表id
     */
    private Integer orderId;

    /**
     * 耗材表id
     */
    private Integer materialId;

    /**
     * 使用数量
     */
    private Integer quantity;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}